import type { CategoryResult } from '@/types/category'
import { http } from '@/utils/http'

export const getHomeCategoryTopAPI = (type: number) => {
  return http<CategoryResult>({
    method: 'GET',
    url: `/category/uni/list/${type}`,
  })
}
